<template>
  <div>Detail</div>
</template>

<script lang="ts">
export default {
  name: "Detail",
};
</script>

<script lang="ts" setup>
const route = useRoute(); // 获取路由参数

console.log(route.params.id);

useHead({
  title: "详情页" + route.params.id,
});
</script>

<style scoped></style>
